Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_HAL_ChibiOS: hwdef: ARK_FPV board support #28603

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

dakejahl
Copy link
Contributor

@dakejahl dakejahl commented Nov 13, 2024

Adds board support for the ARK FPV.
https://arkelectron.com/product/ark-fpv-flight-controller/

Testing Checklist

From https://ardupilot.org/dev/docs/porting.html

  • the board boots and connects to a GCS via USB (Mission Planner, QGC, MAVProxy,etc.)

  • the GPS and Compass is recognized.

  • the RC is recognized and RC input follows the TX

  • the pitch and roll reports (ie HUD horizon) follows autopilot movement correctly (ie IMU is oriented properly and working). test each IMU individually using the INSx_USE parameters.

  • the board arms with default arming checks (may need to force arm if GPS is indoors)

  • attach a battery either directly if onboard power sensors or via external power module and make sure voltage is correctly displayed and current indication present

  • attach a test servo to each output after setting the output to a normal function like elevator, and exercise each one with TX while in MANUAL mode to check output functionality. Bdshot capable outputs should be tested with a BLHeli32 esc for passthrough mode communication (non-IOMCU outputs).

  • move the GPS to each UART output after setting all other UART protocols to NONE and the tested UART to GPS to assure the UART is functioning.

  • UARTs with CTS/RTS lines should use a telemetry radio with those connected to be sure they function with BRD_SERx__CTSRTS=1

Questions

  • How do I configure the ADC for the 12V input?
    image

Requires

IIS2MDC compass driver PR
#28602

@dakejahl
Copy link
Contributor Author

dakejahl commented Nov 18, 2024

I want to reduce the clock speed to 320MHz to reduce heat but adding MCU_CLOCKRATE_MHZ 320 to the hwdef causes the build to fail. Any ideas?

From Andy

The only value supported is 480 on H7, its a way of raising the clockrate from the default of 400

@dakejahl dakejahl marked this pull request as draft November 21, 2024 20:27
@AlexKlimaj
Copy link
Contributor

Just built and flashed. Looks like it is working.

@dakejahl dakejahl force-pushed the pr-ark_fpv branch 2 times, most recently from cbfd219 to 20bfdc2 Compare December 10, 2024 18:51
@dakejahl dakejahl marked this pull request as ready for review December 10, 2024 18:56
@dakejahl dakejahl marked this pull request as draft December 12, 2024 00:44
@dakejahl dakejahl marked this pull request as ready for review December 12, 2024 03:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants